package com.ruoyi.system.controller;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.service.GameGradeService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
@RequestMapping("/gamegrade")
public class gameGradeController
{
    @Resource
    private GameGradeService gameGradeService;

    @GetMapping()
    public AjaxResult getGameGradeByMemberId(Long id){
        return AjaxResult.success(gameGradeService.findGameGradeByMemberId(id));
    }
}
